<?php
//基本配置
return [
    [
        "title" => '系统介绍', "icon" => '#"icon"-jiaoyu3', "path" => "/admin", "show" => false, "name" => "system-introduce",
        "children" => [
            [
                "title" => '系统简介',
                "icon" => '#"icon"-huiyishenqing',
                "path" => '/admin',
                "show" => false,
                "name" => "system-summary",
            ],
        ]
    ],
    [
        "title" => '代金券管理',
        "icon" => '#"icon"-biaoqian',
        "path" => "/voucher",
        "show" => false,
        "name" => "voucher-management",
        "children" => [
            [
                "title" => '代金券发放',
                "icon" => '#"icon"-shenhe',
                "path" => '/admin/voucher/index',
                "show" => false,
                "name" => "voucher-grant",
                "children" => [
                    [
                        "title" => '代金券列表',
                        "icon" => '#"icon"-tongji',
                        "path" => '/admin/voucher/index',
                        "show" => false,
                        "name" => "voucher-index",
                    ],
                    [
                        "title" => '创建代金券',
                        "icon" => '#"icon"-gaishuai',
                        "path" => '/admin/voucher/create',
                        "show" => false,
                        "name" => "voucher-create",
                    ],
                    [
                        "title" => '批量生成',
                        "icon" => '#"icon"-hangye',
                        "path" => '/admin/voucher/patch',
                        "show" => false,
                        "name" => "voucher-patch",
                    ],
                ]
            ],
            [
                "title" => '代金券流通',
                "icon" => '#"icon"-jiaoyi',
                "path" => '/admin/record',
                "show" => false,
                "name" => "voucher-circulate",
                "children" => [
                    [
                        "title" => '代金券流通路径',
                        "icon" => '#"icon"-qushi',
                        "path" => '/admin/record/index',
                        "show" => false,
                        "name" => "voucher-way",
                    ],
                ]
            ],
            [
                "title" => '代金券兑换',
                "icon" => '#"icon"-yinhangjigou',
                "path" => '/admin/voucher',
                "show" => true,
                "name" => "voucher-exchange",
                "children" => [
                    [
                        "title" => '可兑换代金券',
                        "icon" => '#"icon"-zichan1',
                        "path" => '/admin/voucher/exchangeable',
                        "show" => false,
                        "name" => "voucher-exchangeable",
                    ],
                ]
            ],

        ],
    ],
    [
        "title" => '商户管理',
        "icon" => '#"icon"-shangjia',
        "path" => '/admin/user/index',
        "show" => true,
        "name" => "member-management",
        "children" => [
            [
                "title" => '普通商户',
                "icon" => '#"icon"-huiyuan',
                "path" => '/admin/user/index',
                "show" => false,
                "name" => "member-normal",
            ],
        ]
    ],
    [
        "title" => '角色权限',
        "icon" => '#"icon"-zhanghaoguanli',
        "path" => "/admin/role/name",
        "show" => false,
        "name" => "role-name",
        "children" => [
            [
                "title" => '管理员设置',
                "icon" => '#"icon"-qiyebumen',
                "path" => '/admin/manager',
                "show" => false,
                "name" => "manager-setting",
                "children" => [
                    [
                        "title" => '管理员列表',
                        "icon" => '#"icon"-dingdanchaxun',
                        "path" => '/admin/manager/index',
                        "show" => false,
                        "name" => "manager-list",
                    ],
                    [
                        "title" => '分配角色',
                        "icon" => '#"icon"-jiazhao',
                        "path" => '/admin/role/syncroles',
                        "show" => false,
                        "name" => "role-assign",
                    ],

                ]
            ],
            [
                "title" => '角色配置',
                "icon" => '#"icon"-shezhi',
                "path" => '/admin/role',
                "show" => false,
                "name" => "role-configuration",
                "children" => [
                    [
                        "title" => '角色列表',
                        "icon" => '#"icon"-biaoqian',
                        "path" => '/admin/role/index',
                        "show" => false,
                        "name" => "role-index",
                    ],
                    [
                        "title" => '创建角色',
                        "icon" => '#"icon"-paihang1',
                        "path" => '/admin/role/create',
                        "show" => false,
                        "name" => "role-create",
                    ],
                ]
            ],
        ]
    ],
    [
        "title" => '系统配置', "icon" => '#"icon"-shezhi', "path" => '/admin/config/edit', "show" => true, "name" => "system-configuration",
        "children" => [
            [
                "title" => '系统设置',
                "icon" => '#"icon"-tiaokong',
                "path" => '/admin/config/edit',
                "show" => false,
                "name" => "system-setting",
            ],

        ]
    ],
];
